package com.lf.lexy.dao;

import com.lf.lexy.model.BlogType;
import com.lf.lexy.webutils.CommMethod;

public class BlogTypeDao extends BlogType {
	
	public static BlogTypeDao me = new BlogTypeDao();
	
	private static String TabName = CommMethod.getTbaleName("BlogType");
	
	public BlogType geetBlogTypeByNo(String typeNo , String is_delete){
		String sql = "select * from "+ TabName + " where type_no='"+typeNo+"' and is_delete='"+is_delete+"' order by update_time desc " ;
		return dao.findFirst(sql);
	}
	
	

}
